//
//  CategoryEditViewController.h
//  DemoCoreData
//
//  Created by tangkexiong on 16/3/16.
//  Copyright © 2016年 tangkexiong. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CategoryEditViewController, YCProductCategory;

@protocol CategoryEditVCDelegate <NSObject>

- (void)categoryEditVC:(CategoryEditViewController *)vc didEdit:(YCProductCategory *)category isAdd:(BOOL)isAdd;

@end

@interface CategoryEditViewController : UIViewController

@property (nonatomic, retain) YCProductCategory *category;

@property (nonatomic, weak) id<CategoryEditVCDelegate> myDelegate;

@property (weak, nonatomic) IBOutlet UITextField *nameTxtFld;

@end
